<template>
  <div id="app">
     <!-- <img src="./assets/logo.png"> -->
    <div>
      <el-button @click="startHacking">element ui 安装成功</el-button>
    </div>
    <hr>
    <UserInfo></UserInfo>
    <CompDemo></CompDemo>
  </div>
</template>
<script>
import UserInfo from './UserInfo'
import CompDemo from './CompDemo'

export default {
  methods: {
    startHacking () {
      this.$notify({
        title: 'It works!',
        type: 'success',
        message: 'We\'ve laid the ground work for you. It\'s time for you to build something epic!',
        duration: 5000
      })
    }
  },
  components:{
    UserInfo,
    CompDemo
  }
}
</script>

<style>
#app {
  font-family: Helvetica, sans-serif;
  text-align: center;
}
</style>